PELogOnServer

Use PELogOnServer to logon to the specified server.

C Syntax
BOOL CRPE_API PELogOnServer (
        const char FAR *dllName,
        PELogOnInfo FAR *logOnInfo );
Parameters

dllName

Specifies a pointer to the name of the Crystal Reports DLL for the server or password protected non-SQL table to which you want to logon. (for example, "PDSODBC.DLL"). Note that the dllName must be enclosed in quotes. DLL names have the following naming convention: PDB*.DLL for standard (non-SQL) databases and PDS*.DLL for SQL/ODBC databases.

logOnInfo

Specifies a pointer to PELogOnInfo.

Returns
Remarks
VB Syntax

VB Sample Code for modifying SQL statements

Declare Function PELogOnServer Lib "crpe32.dll" ( ByVal DLLName As 
String, LogOnInfo As PELogOnInfo ) As Integer
Delphi Syntax

Delphi code for logging on/off a server

function PELogOnServer(
    dllName: PChar;
    var logOnInfo: PELogOnInfo
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com